package binary;

/**
 * 说明:
 *
 * @author:SuZhongHe
 * @date:2023/3/6
 **/
public class HexDemo {
    public static void main(String[] args) {
        int n=1324548414;
        System.out.println(Integer.toBinaryString(n));//2进制
        System.out.println(Integer.toHexString(n));//16进制
    }
}
